package com.itany.ums.dao;

import com.itany.ums.entity.User;
import com.itany.ums.exception.DataAccessErrorException;

public interface UserDao {
    public void insertUser(User user) throws DataAccessErrorException;

    public void selectByUserNameAndPassword(String username,String password);

    public User findById(int id);

    public void delelteById(int id);

    public void updateUser(User user);
}
